<%
response.setHeader("P3P","CP=\"CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\"");  
  String username=request.getParameter("username");  
  String userpassword=request.getParameter("userpassword");
  Cookie usernamecookie=new Cookie("username",username);
  Cookie passordcookie = new  Cookie("userpassword",userpassword);
  usernamecookie.setMaxAge(30*60*100);  
  passordcookie.setMaxAge(30*60*100); 
  usernamecookie.setPath("/");  
  passordcookie.setPath("/");
  response.addCookie(passordcookie);
 response.addCookie(usernamecookie);  
%>
<%--<script src="http://www.a.com:1978/paysys/common/setCookie.jsp?username=<%=username%>&userpassword=<%=userpassword%>">--%>